package com.sptpc.stu.model;

import java.time.Instant;
import java.time.LocalDate;
import java.util.Date;

//学生类
public class Course {
    private String id; // 课程号
    private String name; // 课程名
    private LocalDate startDate; // 开课时间
    private LocalDate endDate; // 结束时间
    private String demo; // 课程介绍

    public Course(String id, String name, LocalDate startDate, LocalDate endDate, String demo) {
        this.id = id;
        this.name = name;
        this.startDate = startDate;
        this.endDate = endDate;
        this.demo = demo;
    }

    public Course() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public String getDemo() {
        return demo;
    }

    public void setDemo(String demo) {
        this.demo = demo;
    }
}
